<!DOCTYPE html>
<html>
  <head>
    <title><%= title %></title>
    <link rel='stylesheet' href='/css/style.css' />
  </head>
  <body>
  <div class="container ">
    <h2><%= title %></h2>
    <div class="row">
      <div class="col-xs-12">

        <div class="panel-group" id="js_msg">
          <div class="panel panel-default">
            <div class="panel-heading">
              <h4 class="panel-title">
                <a class="" data-toggle="collapse" href="#js_msg" aria-expanded="false">
                 消息列表
                </a>
              </h4>
            </div>
            <div id="js_msg" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="collapseListGroupHeading1" aria-expanded="true" style="">
              <ul class="list-group">

              </ul>
              <div class="panel-footer"> </div>
            </div>
          </div>
        </div>
        <%if(msg){%><div class="alert alert-success"><%= msg %></div><% } %>
      </div>

        <div class="col-xs-2">
          <ul class="list-group">
            <li class="list-group-item">Cras justo odio</li>
            <li class="list-group-item">Dapibus ac facilisis in</li>
            <li class="list-group-item">Morbi leo risus</li>
            <li class="list-group-item">Porta ac consectetur ac</li>
            <li class="list-group-item"><a href="/users/logout">退出</a></li>
          </ul>
        </div>
        <div class="col-xs-10">
          <div class="page-header">
            <h3>用户中心 <small>功能操作区</small></h3>
          </div>
        </div>

    </div>
</div>
  <script src="/javascripts/jquery-1.11.2.js"></script>
  <!--<script src="/socket.io/socket.io.js"></script>-->
  <!--<script src="https://cdn.socket.io/socket.io-1.4.5.js"></script>-->
  <script src="/javascripts/plugin/socket.io-1.4.5.js"></script>
  <script>
     var user = "<%= user %>",
         sid= "<%= sid %>"
  </script>
  <script src="/javascripts/module/profiles.js"></script>
  </body>
</html>
